home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -seriously_amiga- / shareware / graphics / povray3 / povray3_060 / texsamps / metals / stage_xz.inc < prev   
Text File  |  1997-12-12  |  3KB  |  85 lines

  1. // Persistence Of Vision Raytracer version 3.0 sample file.
  2. // Used in conjunction with BRASSES.POV, COPPERS.POV, CHROMES.POV, & SILVERS.POV
  3. // to demonstrate the textures in metals.inc.
  4.  
  5. camera {
  6.    location <0, 20, -30>
  7.    direction <0, 0,  1.75>
  8.    right x*1.33
  9.    look_at 0*y
  10. }
  11.  
  12. light_source {<-50, 50, -1000> color Gray50}
  13. light_source {< 50, 30, -20> color Gray75}
  14.  
  15. //background { color Gray50 }
  16.  
  17. sky_sphere {
  18.     pigment {
  19.         gradient y
  20.         color_map {[0, 1  color Gray50 color Gray80]}
  21.     }
  22. }
  23.  
  24. plane { y, 0 
  25.     pigment {checker color Gray40 color Gray80 
  26.         scale <1, 1, 10000> 
  27.         rotate y*45
  28.     }
  29.     finish { ambient 0.45 } 
  30. }
  31.  
  32. #declare Stack =
  33. union {
  34.    sphere{<0, 4, 0>, 1}
  35.    cone { -y,1, y, 0.5 translate 2*y }
  36.    object {UnitBox}
  37. }
  38.  
  39. #declare Height = 1
  40.  
  41. #declare Dist1 =  10
  42. #declare Dist2 =   5
  43. #declare Dist3 =   0
  44. #declare Dist4 =  -5
  45. #declare Dist5 = -10 
  46.  
  47. #declare Col1 =  -8
  48. #declare Col2 =  -4
  49. #declare Col3 =   0
  50. #declare Col4 =   4
  51. #declare Col5 =   8
  52.  
  53.  
  54. object { Stack texture{T01} translate <Col1 Height Dist1 >}
  55. object { Stack texture{T02} translate <Col2 Height Dist1 >}
  56. object { Stack texture{T03} translate <Col3 Height Dist1 >}
  57. object { Stack texture{T04} translate <Col4 Height Dist1 >}
  58. object { Stack texture{T05} translate <Col5 Height Dist1 >}
  59.                                                           
  60. object { Stack texture{T06} translate <Col1 Height Dist2 >}
  61. object { Stack texture{T07} translate <Col2 Height Dist2 >}
  62. object { Stack texture{T08} translate <Col3 Height Dist2 >}
  63. object { Stack texture{T09} translate <Col4 Height Dist2 >}
  64. object { Stack texture{T10} translate <Col5 Height Dist2 >}
  65.                                                           
  66. object { Stack texture{T11} translate <Col1 Height Dist3 >}
  67. object { Stack texture{T12} translate <Col2 Height Dist3 >}
  68. object { Stack texture{T13} translate <Col3 Height Dist3 >}
  69. object { Stack texture{T14} translate <Col4 Height Dist3 >}
  70. object { Stack texture{T15} translate <Col5 Height Dist3 >}
  71.                                                           
  72. object { Stack texture{T16} translate <Col1 Height Dist4 >}
  73. object { Stack texture{T17} translate <Col2 Height Dist4 >}
  74. object { Stack texture{T18} translate <Col3 Height Dist4 >}
  75. object { Stack texture{T19} translate <Col4 Height Dist4 >}
  76. object { Stack texture{T20} translate <Col5 Height Dist4 >}
  77.                                                           
  78. object { Stack texture{T21} translate <Col1 Height Dist5 >}
  79. object { Stack texture{T22} translate <Col2 Height Dist5 >}
  80. object { Stack texture{T23} translate <Col3 Height Dist5 >}
  81. object { Stack texture{T24} translate <Col4 Height Dist5 >}
  82. object { Stack texture{T25} translate <Col5 Height Dist5 >}
  83.  
  84.  
  85.